package com.ruoyi.carUser.mapper;

import com.ruoyi.carUser.domain.UserMerchant;
import com.ruoyi.system.api.domain.OrderEvaluation;
import com.ruoyi.system.api.domain.ServiceDetails;
import com.ruoyi.system.api.domain.User;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
@Mapper
public interface MerchantUserMapper {
//    获取所有商家和单个商家的信息
    public List<UserMerchant> selectUserMerchantList(UserMerchant userMerchant);
    public List<UserMerchant> selectCount(UserMerchant userMerchant);
//  获取商家对应的洗车服务
    public List<ServiceDetails> getServiceDetails(UserMerchant userMerchant);
//获取评价
    public List<OrderEvaluation> getEvaluationList(UserMerchant userMerchant);

}
